import fs from "fs";

const commandsInFolder = fs.readdirSync("./src/commands/");

let count = 0;
for (const command of commandsInFolder) {
    require(`../commands/${command.replace(".ts", "")}`);
    count++;
}
console.log(`${count} commands registered`);
